package me.zhengjie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.common.vo.PageVo;
import me.zhengjie.common.vo.Result;
import me.zhengjie.common.vo.SearchVo;
import me.zhengjie.entity.TZhsqAnounceInfo;

import javax.servlet.http.HttpServletResponse;

/**
 * @author
 **/
public interface ITZhsqAnounceInfoService extends IService<TZhsqAnounceInfo> {

    /**
     * 功能描述：根据主键来获取数据
     *
     * @param id 主键
     * @return 返回获取结果
     */
    public TZhsqAnounceInfo getTZhsqAnounceInfoById(String id);

    /**
     * 功能描述：实现分页查询
     *
     * @param tZhsqAnounceInfo 需要模糊查询的信息
     * @param searchVo         排序参数
     * @param pageVo           分页参数
     * @return 返回获取结果
     */
    public Result<Object> queryTZhsqAnounceInfoListByPage(TZhsqAnounceInfo tZhsqAnounceInfo, SearchVo searchVo, PageVo pageVo);

    /**
     * 功能描述： 导出
     *
     * @param tZhsqAnounceInfo 查询参数
     * @param response         response参数
     */
    public void download(TZhsqAnounceInfo tZhsqAnounceInfo, HttpServletResponse response);
}
